//
//  NSDecimalNumber+HECalculate.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/28.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDecimalNumber (HECalculate)

/**
 保留几位小数点
 */
+ (NSString *)rounding:(NSString *)number afterPoint:(NSInteger)position;

/**
 保留几位小数点
 */
- (NSString *)afterPoint:(NSInteger)position;

/**
 保留2位小数点
 */
- (NSString *)keepTwo;

@end

NS_ASSUME_NONNULL_END
